<template>
  <h3>file-upload 组件示例</h3>
  <f-file-upload
    disabled
    v-model:value="fileList"
    :fileSize="6"
    showText="shanc"
    @change="handleChange" />
  <pre>{{ fileList }}</pre>
</template>
<script setup>
import { ref } from 'vue';

const fileList = ref([
  {
    url: 'upload/20240516/e7369ce5c1a84a288903916e3ae72090.ts',
    originalName: 'base.ts'
  }
]);

const handleChange = (file) => {
  console.log('handleChange', file);
};
</script>
<style lang="scss" scoped></style>
